package com.ksc.storekeeper.shared.dto;

import java.util.Date;

import com.google.gwt.user.client.rpc.IsSerializable;

public abstract class AbstractDTO<PK> implements IsSerializable {

	private int version;

	private Date created;

	private Date lastModified;

	private PK id;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public Date getLastModified() {
		return lastModified;
	}

	public void setLastModified(Date lastModified) {
		this.lastModified = lastModified;
	}

	public PK getId() {
		return id;
	}

	public void setId(PK id) {
		this.id = id;
	}

}
